class CreateEshopSettings < ActiveRecord::Migration
  def change
    create_table :eshop_settings, :force => true do |t|
      t.string :name, :limit => 20, :null => false
      t.string :presentation, :limit => 20, :null => false
    end

    add_index :eshop_settings, :name, :unique => true
  end
end
